package web;

/**
 * Created by asus on 2017/5/22.
 */
/*
public class BookStoreWebUtils {
    public static ShoppingCart getShoppingCart(HttpServletRequest request){
        HttpSession session=request.getSession();
        ShoppingCart shoppingCart= (ShoppingCart) session.getAttribute("shoppingCart");
        if(shoppingCart==null){
            shoppingCart=new ShoppingCart();
            session.setAttribute("shoppingCart",shoppingCart);
        }
        return shoppingCart;
    }
}
*/